{include file="layout/header" title="货币设置" /}
<style type="text/css">
    .box-row-2 {
        width: 50%;float: left;
    }
</style>
<div class="view-body">
    {include file="layout/menu" /}
    <div class="view-product">
        <div class="company_identify">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con">
                    货币设置
                </h6>
            </div>
            <div class="layui-lr-20 clearfix">
                <form action="{:url('admin/Config/save',['key'=>'currency'])}" class="layui-form" method="post" name="currencyForm">
                    <div class="box-row-2">
                        <div class="layui-form-item margin-top-25">
                            <label class="layui-form-label width-small">
                                转账开关
                            </label>
                            <div class="layui-input-inline">
                                <input type="checkbox" name="isTransfer" lay-skin="switch" lay-text="开启|关闭" value="1">
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                用户货币互转兑换开关
                            </div>
                        </div>

                        <div class="layui-form-item margin-top-25">
                            <label class="layui-form-label width-small">
                                最低转账
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="minTransfer" type="text">
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                用户转账最低数量
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                充值币
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="recharge" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                用于激活账户以及转账给其他用户
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                最低充值
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="minRecharge" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                用户充值充值币最低数量
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                最低挂售
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="minMoney" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                用户挂售提现币最低数量
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                挂售手续费
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="sellFee" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                单位 %
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                支付超时
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="payTimeout" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                单位：秒
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                超时惩罚
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="timeoutPunish" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                超时扣除多少提现币
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                超时补偿
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="timeoutReward" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                代理接单后订单超时未支付补偿挂售人多少提现币
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                取消订单
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="cancelPunish" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                代理取消订单扣除多少提现币
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                取消补偿
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="cancelReward" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                代理取消订单补偿挂售人多少提现币
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                返利折扣
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="rebate" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                单位：1-10 折
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                分红提现币
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="money" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                用于转账和提现以及兑换：购物币，游戏币，充值币
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                购物币
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="shopping" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                不可兑换其他币种
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label width-small">
                                游戏币
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="game" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                不可兑换其他币种
                            </div>
                        </div>
                    </div>
                    <div class="box-row-2">
                        <div class="layui-form-item margin-top-25">
                            <label class="layui-form-label width-small">
                                成为代理
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="agentRecharge" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                奖励多少充值币
                            </div>
                        </div>
                        <div class="layui-form-item margin-top-25">
                            <label class="layui-form-label width-small">
                                成为代理
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="agentGame" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                奖励多少游戏币
                            </div>
                        </div>
                        <div class="layui-form-item margin-top-25">
                            <label class="layui-form-label width-small">
                                成为代理
                            </label>
                            <div class="layui-input-inline">
                                <input class="layui-input" lay-verify="required" name="agentShopping" type="text">
                                </input>
                            </div>
                            <div class="layui-form-mid layui-word-aux">
                                奖励多少购物币
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block margin-left-100">
                            <button class="layui-btn layui-btn-normal" lay-filter="withdrawYes" lay-submit="">
                                确定
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    var formObj = new Form('currencyForm');
      formObj.init({$currency});
</script>
{include file="layout/footer" /}
